#include <WinTen.h>
#include <Windows.h>
#include <ClipApi.h>


CLIPPER GETCLIENTR()
{
   RECT rct;

   GetClientRect( _parni( 1 ), &rct );

   _reta( 4 );
   _storni( rct.top,    -1, 1 );
   _storni( rct.left,   -1, 2 );
   _storni( rct.bottom, -1, 3 );
   _storni( rct.right,  -1, 4 );
}

CLIPPER GETWNDRECT()
{
   RECT rct;

   GetWindowRect( _parni( 1 ), &rct );

   _reta( 4 );
   _storni( rct.top,    -1, 1 );
   _storni( rct.left,   -1, 2 );
   _storni( rct.bottom, -1, 3 );
   _storni( rct.right,  -1, 4 );
}

